package cn.kgc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
@SpringBootApplication
@EnableEurekaServer   // 开启注册服务
public class HelloRegistry2 {
    public static void main(String[] args) {
        SpringApplication.run(HelloRegistry2.class);
    }
}
